<template>
    <div class="item-par">
      <i :class=this.listIcon></i>
      <div class="bir-bom">
        <p>{{this.listName}}<span>({{this.listNumber}})</span></p>
      </div>
    </div>
</template>

<script type="text/ecmascript-6">
    export default {
      name: "local",
      props: {
        name:{
          type:String,
          default:null
        },
        number: {
          type: String,
          default: '0'
        },
        icon:{
          type:String,
          default:''
        }
      },
        data() {
            return {
              listName : '',
              listNumber : 0,
              listIcon : ''
            }
        },
      mounted: function () {
        // console.log(this.listName);
        // console.log(this.listNumber);
        // console.log(this.listIcon);
      },
      created(){
        this.listName = this.name;
        this.listNumber = this.number;
        this.listIcon = this.icon;
      },
        methods:{
         get(){
          return 1234;
         }
        }
    }
</script>


<style lang="scss" scoped>
  @import "../../style/font-icon/style.css";
  @import '../../style/mixin';
  .item-par{
    height: 96px;
    @include fj(start,center);
    background-color: rgb(242,244,246);
  }
  .item-par i{
    color: rgb(210, 57, 48);
    font-size: 45px;
    padding: 24px;
}
  .bir-bom{
    color: rgb(49,49,49);
    font-family: Tahoma;
    font-weight: 500;
    height: 94px;
    width: 100%;
    line-height: 94px;
    font-size: 28px;
    border-bottom: 2px solid rgb(231, 233, 233);
  }
  .bir-bom p span{
    font-size: 24px;
    font-weight: 400;
    color: rgb(150, 150, 150);
  }

</style>

